import request from "@/utils/request";

// 查询
export function GetDeviceList_Page(data) {
  return request({
    url: "api/Device/GetDeviceList_Page",
    method: "post",
    data: data,
  });
}

// 修改
export function EditDevice(data) {
  return request({
    url: "api/Device/EditDevice",
    method: "post",
    data: data,
  });
}
// 删除
export function DelDevice(data) {
  return request({
    url: "api/Device/DelDevice",
    method: "post",
    data: data,
  });
}
// 添加
export function AddDevice(data) {
  return request({
    url: "api/Device/AddDevice",
    method: "post",
    data: data,
  });
}

// 详情
export function GetDeviceDetail(data) {
  return request({
    url: "api/Device/GetDeviceDetail",
    method: "post",
    data: data,
  });
}

// 绑定
export function DeviceBindMaintainPlan(data) {
  return request({
    url: "api/Device/DeviceBindMaintainPlan",
    method: "post",
    data: data,
  });
}

//记录日志    
export function GetDeviceLog_Page(data) {
  return request({
    url: "api/Device/GetDeviceLog_Page",
    method: "post",
    data: data,
  });
}

//打印设备二维码    
export function PrintDeviceQRCode(data) {
  return request({
    url: "api/Device/PrintDeviceQRCode",
    method: "post",
    data: data,
  });
}
